<?php
namespace App\Adshopuser\Controllers;
use Common\ControllerAdshopBase;

class TransactionController extends ControllerAdshopBase
{

    public function initialize()
    {
        parent::initialize();
    }

    public function userCountAction(){
        $result['day']=["20210701", "20210702", "20210703", "20210704", "20210705", "20210706", "20210707"];
        $result['level_1']=[];
        $result['level_2']=[];
        $result['level_3']=[];
        $this->ok($result);
    }


    public function LastMonthSettlementAction(){
        $result['key']=["未付款", "已付款", "已发货", "确认收货", "退货"];
        $result['list']=[0, 0, 0, 0, 0];
        $this->ok($result);
    }

    public function sevenOrderCountAction(){
        $result['day']=["周4", "周5", "周6", "周末", "周1", "周2", "周3"];
        $result['jd']=[0, "0", 0, 0, 0, 0, 0];
        $result['key']=["未付款", "已付款", "已发货", "确认收货", "退货"];
        $result['pdd']=[0, 0, 0, 0, 0, 0, 0];
        $result['qt']=[0, 0, 0, 0, 0, 0, 0];
        $result['taobao']=[0, 0, 0, 0, 0, 0, 0];
        $result['vph']=[0, 0, 0, 0, 0, 0, 0];
        $this->ok($result);
    }

}
